<template>
  <view class="container">
    <SingleChooseGoods v-if="chooseType === 'single'" />
    <ChooseGoods v-else />
  </view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app'
import SingleChooseGoods from './singleChooseGoods.vue';
import ChooseGoods from './chooseGoods.vue';

const chooseType = ref('single');


onLoad((options) => {
  chooseType.value = options.chooseType;
})
</script>

<style lang="scss" scoped>

</style>